Other than native x86-64 code, the XEN guest *does* use 4k mappings for
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 1 Jul 2005 15:47:46 +0000 (15:47 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 1 Jul 2005 15:47:46 +0000 (15:47 +0000)
commitb42a1fafc6fcec65ca80ee2b4076e147ac0f1e57
treed5e0f5f96a7c0cb2dae445f52240522ee3dcd834
parent1c626b55a6ab33627edc1aff6f06a87f457ff8a4
Other than native x86-64 code, the XEN guest *does* use 4k mappings for
the contiguous kernel mapping of (physical) memory. Thus the code in
change_page_attr needs to work like on i386 (where large pages are used
only conditionally) rather than like native x86-64. Patch below/attached.
Not doing so triggered the BUG_ON during load of intel-agp on machines
with i915 chipset.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
linux-2.6.11-xen-sparse/arch/xen/x86_64/mm/pageattr.c